using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;

public class Lesson1 : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {

    }

    void Update()
    {
        if (Input.GetMouseButtonDown(0))
        {
            //鼠标左键点击的处理逻辑
            print("老输入系统开火");
        }
    }

    public void Fire(InputAction.CallbackContext context)
    {
        print("新输入系统开火");
    }
}
